package com.qingmeng.outsourcing.portal.enums;

import com.qingmeng.outsourcing.common.api.IErrorCode;

/**
 * 短信验证类型
 */
public enum SMSType implements IErrorCode {
    MODIFY_PHONE(0,"修改手机号码"),
    REGISTER_EMPLOYEE(1,"注册雇主，也就是项目发布者"),
    REGISTER_DEVELOPER(2,"注册开发者"),
    FORGET_PASSWORD(3,"忘记密码");




    private final   long code;
    private final String message;

     SMSType(long code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public long getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
